update instructions and changes NaN values to 0