Adding speed attribute and updating bg image attribute