Made function for switching / updating; for future use.