update view & contr