Added optional  param to update method on adapter interface