added "update" to mongoose.Document methods