mongoose update fix