change plan id from int to long