added some validation for updates, changed redirection > modifications occur in its same page