updates images path