added image model with accepts nested attributes