remove temp file
update controller