added history.go(-1) after successful update;