update matlab server functions