fixed redirect after update