Edit master template