check creation and updating