update fragment layout