updates components