change type of id from int to long