add debug info to makefile
set update_ref to None
fix commit bug