Update 201301120730

- revamped the save function
- the legends will appear immediately on the page