composer killed while updating

The „Killed” message usually means your process consumed too much memory, so you may simply need to add more memory to your system if possible.

Actually, you should increase the amount of memory PHP is using by editing /etc/php.ini and adjusting

Change 1024MB to match your requirements.