fix and test for action updating