background upload now finished
refactoring google spreadsheet code