Implement MyMongoid Lifecycle Callbacks

Implement MyMongoid Lifecycle Callbacks