Update components.cpp