update schema with pgsql