Postgres notes update