updated style and default image being displayed