update activity type