fixed updated bug