Update movie query for pgsql.