Function updateAutomationsSettings