modify badge value