added delete and update character