Formatted output and added quantity updating