update JMenu: possibility to delete layers