Update actions.cpp