update return type of the entityMetaData