fix update controller bug