Implemented update functionality and fixed .plgx filename