updating thumbnail paths