updates to add the success message on save or update