update: {
    pinned: async (id, pinned) => {
      try {
        const client = await pool.connect();
        const { rows } = await client.query(