Added function to check for updates in brew and re indented