using html form for update