Add flag for using staging server
Update component