code: func (m *Manager) UpdateAuthorization(authorization *Authorization) (err error) {
  	_, err = m.getAuthorizationCollection().Upsert(bson.M{"username": authorization.Username, "grantedto": authorization.GrantedTo}, authorization)
  	return
  }
docs: //UpdateAuthorization inserts or updates an authorization