make update controller work