added eventListener for update Button in 'ErgK