Removed duplication sending message to mongo on CRUD functions

Re-posting pull request. Please close my previous pull request, it had messed up CR/LF