last update with raw query