updated votes schema