merge change for database version method