refactored collection to be immutable, changed image relation in schema