changes in query based weights