chnage hist query pic