update example and added inline block