updating selected images