Making updates use POST
Cleanup of angular code