[DEV] update at the new resource definition methode