Update flash layout