fix issue when database is not used + update readme