fixed the damn bug :3 
now we have a working upgrading system !