updated websocket - upload handling
removed manually adding finished
updated template to work directly with the given record