update the riak formula