updating mongo