apps update and a few debugging