add badges tot title when edit card