prepersist and preupdate news entity