upload lib directory