Regularity for the approximated harmonic map equation and application to the heat flow for harmonic maps