Please correct me if I am wrong, but I didn't do it that way because I believe it does not quite work.
If I want to forward to previous page if it exists through the security extension, I believe it redirects to the login page with the previous url encoded in the "accesscheck" variable.
I don't think the update transaction will recognize this value and redirect to it will it? Isn't that security extension specific?