Updating server templates (php)