implement update

jsf only for now