finished rails upgrade