improved edit card fragment