update locales and change database directory move method