Updated phql