add support for write multiple registers