Update layer_detail.html