removing id from ajax call
adding update query to fetch stored result from database