Apply template; will update later