Added update function (consider it beta)
Updated version