added update entities methods