bug fixing - update