Clean expand_paths
Fix key task error
Merge user.register and user.update tasks