upgrade template file for 4.5