update bit operations and tips