adding dates to step instances and fixing issue with step id fetch