updates correct image