add snippet crud support to client