adding write payload