Update inner and outer join block