update slave priority to be configurable