Here is a part of the code I am using to update the database. It works, but I would like to redirect the user to another page if the database update is a success. How can I