update image tab on selection change