Replaced staticUpdate() calls with dirty flag

This will give us 1 update for static light during update cycle not depending on how much changes in it we have done.