updating activity 4