some updats in the controller