5.1 update bug fixed and new functions