Add API to update openrc variable