changes to PUT function, removed unneeded 'cas' checks

minor change to 'main.js' to send data to notification component