Fixed error where updated date was not set when assignment metadata was
updated. Created global method for setting update fields.