update scratchpad
entity repository
events on entities add entity to the repo's list of entity changes