create action for config