added entity update callback