added update entity metadata