rename methods and database tables