bug fix updating db on level success. Added copyright