Update to newest sql-query