Fixed menu bug where the question for saving is asked at wrong places. Server now updates only the required fields in the mongodb documents.