fixed vote table in mysql and updated vote model