change type of id field in database