fix update on mongoconnection