fixed syncronization update for shadowmapping