Update segment size and offset as per request