updated tests
added backend to handle upgrade button
updated index