add support for advancing uploads from the state