fix database call to save default design doc
fix database call to save default design doc