added edit card trigger