Fixed a lot of the Mongo hook update