Add redirect to correct page after patch request