changes query activity

Ready
changes query activity dev