updated images controller