update mongoose, fix associations