Added alert messages

had to fix weird bug where PUT on webapi returns original object so
doesn't cause sync event to fire