update spreadsheet and fix error