Updated to allow updating alerts attributes individually

Now it's possible to pass only the displayUntil property for example.