update to edit activity