added put_record for dynect