tidy script
update
update view
update controller