Updating templates and trying to add data from the tickets collection