fix wrong template rendered when updating user