Added method for remove,add snapshot