updated read write params for consistency