implemented changing assigned_to and custom fields by hook