update activity_templete.json and fix the bug get rival