core data entities update