Add array to register assets

This commits resolve #3209 . Hope you like it.

Thanks,