changed admin profile query