In Ash, this can be placed in your update action change get_and_lock(:for_update)
change get_and_lock(:for_update)