change flags to up vote / down vote