updated some of the mongoose models