Updated database to string ids