updates images controller