Update mongo synchronously