Update to NDB from DB