proper handling of components' draws and updates