code: func (c *Client) UpdateView(ctx context.Context, id platform.ID, upd platform.ViewUpdate) (*platform.View, error) {
  	var d *platform.View
  	err := c.db.Update(func(tx *bolt.Tx) error {
  		dash, pe := c.updateView(ctx, tx, id, upd)
  		if pe != nil {
  			return &platform.Error{
  				Err: pe,
  				Op:  getOp(platform.OpUpdateView),
  			}
  		}
  		d = dash
  		return nil
  	})
  
  	return d, err
  }
docs: // UpdateView updates a view according the parameters set on upd.