Updating duplicated beans in the cli according to changes done in the rest api