Changing a region takes effect on the next deployment, not immediately.
Functions run in iad1 unless you choose otherwise. Choose the region nearest your database.