Update action.cpp