entity preupdate type fix