Google Sheets Replace Rows

Hi, Im looking for a way to replace data in a Google Sheet rather than adding new rows to my Google Sheet. Say I have cells A1 through G1. Every time I click a button on my Bubble app, I want to replace the data in those cells instead of simply adding a new row. Anyone know how I can do this?