finalize the creation and update