add editing feature