updating components and store