add write_gcm plugin