added tests for update component data and update component path.