Update model template