Update the constants name for database.