Fixed exists method, checks error and db_name to determine exists
Merge remote-tracking branch 'origin/master'