Update shadow effect for Gallery