Fixed sha256 not getting added to database