Modified to redirect successful update to add post page