changes for activity edit