added support to optional value attribute to sorted-set-add