The Scottish government on Wednesday announced a consultation on updating its offshore wind target to up to 40 GW by 2035-2040.