Edit chart works using PUT to mongo rest front end