updating nofitication api