simplifying IPTS update query