updated model for images