Adjusted general template update