updated ajax post types for delete and update

+ some minor changes to gui