update to plug v0.5.0