Fixed sync driver for db changes

Change-Id: I4149a7726e86f8b7ce299ca5a5290ea90009f554
Jinja change

Change-Id: Ib398b0d9d963ccd06be99b5dfe7fa9fca708f291