Use \$set instead of \$push when the original value is not an array