add action struct in client