update alarm form on frontend