added drawing edit functionality