Updating ruler preference