updates database.py in case of mac os