modify th activity