How to upgrade Elgg using composer?

I've checked the docs but couldn't find anything.