update resources, layout and string