add update project functionality. build form for new/edit