Add updateby and updateon on update metadata function.