add the possibility to edit the class resource id