add and remove packages