updating components to new style