add two api actions and a test update