Update editChain.php