fixed a few things. current bug is not receiving ObjectId properly after insert