made it so that you can have actions on create api calls