How to change the affiliated authors?
You need to contact the editor as soon as possible and get your mistake rectified.

If you have waited too long then it may not be possible for the versions already made public.