update device frame with code changes on mount, and when there are edits