Updating draw method.