working on edit functionality, about 40% done