Updating stroke on pulse button