rsm, improve bonus api