made spinner message more generic for actions other than create and update