Add sha param for write methods