update units controller