improve sns endpoint