add remove method to snapshot