updated view on edit mode