Update layout resource.
Update resouce.