Fixed source options on layer update