I did this recently and also had to do a new TM30 when they moved stamps, and just had my online 90 day report rejected and have to go in person as they've treated it as first report after entry
You can only apply online but you must do so using the consulate that serves the area where you are physically located. There are no consulates in Thailand so you can't apply from there