Fixed earned badge update