adding nested images to model for multiple image upload