Add Query model