edit_layers function

Edit plot layer