Template code to update and replace students template code