Update notification and register Spark API variables