Add update functionality

Update actions: Edit/update