You can update different collections on the same stack of actions. You just require a separate action.
When you say separate database… do you mean more than one collection/ table.
Please let’s talk in terms of
- Adalo collections,
- External collections
- Adalo apps (with different databases),
1 and 2 can be done as described
3 will require using an external collection.