Store historical records with PUT request
Stores current record in metadata_history and the updated record in metadata_table:
- Store current record in metadata_history table
- Set updated_by to current user
- Set updated_time to current time
- Store metadata passed into method in metadata_table
- Return updated metadata_table record