Table exists check func added to mapper