Hold state in stream function
Set metadata dates in start_link