Feature/syncdb adapt

in case it doesn't behave. but normally should not be used.