quick error fix to fix mongodb update error in setup