adding entity metadata