Proper CRANDB update script, first try