instruction factory: Add setter and getter for timestamps

Update timestamp when editing instruction info.