Edit functionality almost done with some bugs and no delete