update with dynamic img