Fixed update btn and new

to clear the attachment window