Mongodb event implemented