update with sample reader