Added logic to rename the players table and also added a replace method for inserting/updating