initial implementation of syscall and update client