updating pathway works after creation of pathway