add edit and new routes