Updating C practice