searches,notifications and sql update