upgrade bugfixes, coindoubler upgrade implemented