Just add 'OldPassword' and 'TempPassword' to the database and it should work. The vote script just requires the three LastVote collumns.