change id from string to long