head first code update