Update using val- attributes