updating img path