update params
some more stuff for mongodb