Big changes have been made to the multi-million pound sea defence scheme to protect more than 8,000 homes from flooding.