Api edit pkg

I guess I don't know how this line works :P