adds follwing logic
adds feed SQL changes