Update entities, and controller