You need to do it with a $set update document to modify only a subset of the fields. This should do what you want:
val update = MongoDBObject(
"$set" -> MongoDBObject("answers" -> userExam.userAnswers)
)
More about $set in mongodb: http://docs.mongodb.org/manual/reference/operator/update/set/