Added preUpdate hooks