Command to update ionic

How do I update my ionic project to latest beta? How about angularjs?

If your project was made with the CLI after beta 6, you have access to bower for that.