fix portal updates and change models to work with fix, then change corresponding failing tests., also add portal sync script