fixing project creation and update

NOTE: delete still need to be fixed and also show/hide inactive project