update the mongoose