remove extra whitespace from update action template redirect