Update, added YAMLDict and fixed an issue in update