updating activity 2