Save builds to the database