fix bae86a2d - retain default values

set element values before calling update()