update syntax highlting and extended card api