add entity reward and update migration