debug and update..