udpated docs, preUpdate, postupdate and postDelete methods
updated docs