update mongoid adapters to fix create or update object not working when use mongoid 2