Advances in the development of the code FRENETIC for the coupled dynamics of lead-cooled reactors