update activity template