fixing accounts edit and update redirection