update card edit page