Updating according to screen resolution