activity changes and ui updates