code: func (m *Message) Update(db *mgo.Database) error {
  
  	if m.ID.Valid() {
  		return db.C("messages").UpdateId(m.ID, bson.M{"$set": m})
  	}
  	return errors.New("Can't update message: ID is not set")
  }
docs: // Update will update existing message in DB