You can use eaccmd to modify components in an application.
To change the attributes of a previously-defined component in eaccmd, use the following syntax:
update-component [--force] --app app_id [--comp comp_id] --def def_file
For example:
update-component --force --app myApp --def newDgraphProps.xml