update image positio