Fixing mongo error with empty save command