updated actionPerformed