Added custom_fields to client.subscribe
fixed data being set to wrong value in subscribe
Added delete