changed activity query