re-attach events on new queries