profile query edit