properly do error on create/update
many bug fixes and better error handling when on API mode
update changelog
releasing v0.4.0