update entities and services