Updating div issue