update max coins allowed