provide api to update job priority value
implementing prioirty queue