updates to remain on edit page after clicking save