updating activity