added change to update selected thumb