On your update page, add 2 submit buttons, and make sure they have unique names like Update or Insert.
Set the Update record behavior trigger to use Button Update pressed, add an insert record behavior to the page and set it to trigger if the Insert Button is pressed.
In both behaviors, bind the Database column to the appropriate for elements.