Fix Bug: Delete instead of update package