mobile api: update entity type