add head to rethinkdb