Fixing the patch to the updatedb script for API deployment
Merge remote-tracking branch 'lornajane/dbpatch'