added update capability and modified gui