Added update button to edit page