add sources api
added PUT api for dashboard/chart update