Updated query buttons