Change DB key id's from String to long