edit view half way working