updated for adding image